package cn.njxzc.examples;

class A1 {
	int a = 10;

	void printT() {
		System.out.println("class A");
	}
}

class B1 extends A1 {
	int a = 'm';

	void printB() {
		super.printT();
		printT();
		System.out.println((char) a);
		System.out.println(super.a);
	}

	void printT() {
		System.out.println("class B");
	}
}

class Exam3_18 {
	public static void main(String[] args) {
		B1 b = new B1();
		b.printB();
	}

}
